package org.csu.jpetmanage.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

@Data
@Repository
//映射数据库
@TableName("inventory")
public class Inventory {
    @TableId(type = IdType.AUTO)
    private String itemid;
    int qty;
}
